package com.crm.service;

import com.crm.pojo.Goods;
import com.crm.pojo.client;
import com.crm.pojo.pageBean;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface goodsService {

    List<Goods> queryAll();

    pageBean<Goods> selectByPage(Integer currentPage, Integer pageSize);

    Goods queryOne(int id);

    boolean save(Goods goods);

    boolean update(Goods goods);

    boolean removeOne(int id);
}
